define(function(require,exports,module){
    var Base={
		mBaserSvrUrl:window.BaseServerUrl,
		localStorage:window.localStorage
	};
	
	function JlnRequest(){
		this.params={}
	}
	module.exports=InvestTeamProxy;
function InvestTeamProxy(){
	function investteamSubmit(request, success, ignoreError) {
	    var url = Base.mBaserSvrUrl+'/investteam';
        if (request.svr == null) request.svr = undefined;
	    if (request.token == null) request.token = undefined;
	    var content = JSON.stringify(request);
       
	    url = url + '?f=t&data=' + encodeURIComponent(content);
	    url = url + '&CallBack=?';
        $.getJSON(url,success);

	}

	function registerRq(union,type,loginName,password,name,phoneNumber,email,leader,description,validCode,success,ignoreError){
        var request=new JlnRequest();
        request.func='register';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['t']=type;
		request.params['loginName']=loginName;
		request.params['p']=password;
		request.params['n']=name;
		request.params['phoneNumber']=phoneNumber;
		request.params['e']=email;
		request.params['l']=leader;
		request.params['d']=description;
		request.params['validCode']=validCode;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.registerRequest=function(type,loginName,password,name,phoneNumber,email,leader,description,validCode,success,ignoreError){
       var request= registerRq(true,type,loginName,password,name,phoneNumber,email,leader,description,validCode,success,ignoreError);
       return request;
    }
	this.register=function(type,loginName,password,name,phoneNumber,email,leader,description,validCode,success,ignoreError){
       var request= registerRq(false,type,loginName,password,name,phoneNumber,email,leader,description,validCode,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function approveRq(union,userToken,teamId,isPass,success,ignoreError){
        var request=new JlnRequest();
        request.func='approve';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['userToken']=userToken;
		request.params['tid']=teamId;
		request.params['ip']=isPass;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.approveRequest=function(userToken,teamId,isPass,success,ignoreError){
       var request= approveRq(true,userToken,teamId,isPass,success,ignoreError);
       return request;
    }
	this.approve=function(userToken,teamId,isPass,success,ignoreError){
       var request= approveRq(false,userToken,teamId,isPass,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function loginRq(union,loginName,password,success,ignoreError){
        var request=new JlnRequest();
        request.func='login';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['loginName']=loginName;
		request.params['p']=password;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.loginRequest=function(loginName,password,success,ignoreError){
       var request= loginRq(true,loginName,password,success,ignoreError);
       return request;
    }
	this.login=function(loginName,password,success,ignoreError){
       var request= loginRq(false,loginName,password,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function getIsLoginRq(union,token,success,ignoreError){
        var request=new JlnRequest();
        request.func='getIsLogin';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.getIsLoginRequest=function(token,success,ignoreError){
       var request= getIsLoginRq(true,token,success,ignoreError);
       return request;
    }
	this.getIsLogin=function(token,success,ignoreError){
       var request= getIsLoginRq(false,token,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function getTeamByIdRq(union,termId,success,ignoreError){
        var request=new JlnRequest();
        request.func='getTeamById';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['tid']=termId;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.getTeamByIdRequest=function(termId,success,ignoreError){
       var request= getTeamByIdRq(true,termId,success,ignoreError);
       return request;
    }
	this.getTeamById=function(termId,success,ignoreError){
       var request= getTeamByIdRq(false,termId,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function getTeamInfoByTokenRq(union,token,success,ignoreError){
        var request=new JlnRequest();
        request.func='getTeamInfoByToken';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.getTeamInfoByTokenRequest=function(token,success,ignoreError){
       var request= getTeamInfoByTokenRq(true,token,success,ignoreError);
       return request;
    }
	this.getTeamInfoByToken=function(token,success,ignoreError){
       var request= getTeamInfoByTokenRq(false,token,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function getTeamBySIdRq(union,sId,success,ignoreError){
        var request=new JlnRequest();
        request.func='getTeamBySId';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['sid']=sId;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.getTeamBySIdRequest=function(sId,success,ignoreError){
       var request= getTeamBySIdRq(true,sId,success,ignoreError);
       return request;
    }
	this.getTeamBySId=function(sId,success,ignoreError){
       var request= getTeamBySIdRq(false,sId,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function getTeamCompanyRq(union,token,success,ignoreError){
        var request=new JlnRequest();
        request.func='getTeamCompany';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.getTeamCompanyRequest=function(token,success,ignoreError){
       var request= getTeamCompanyRq(true,token,success,ignoreError);
       return request;
    }
	this.getTeamCompany=function(token,success,ignoreError){
       var request= getTeamCompanyRq(false,token,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function getTeamLeaderRq(union,token,success,ignoreError){
        var request=new JlnRequest();
        request.func='getTeamLeader';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.getTeamLeaderRequest=function(token,success,ignoreError){
       var request= getTeamLeaderRq(true,token,success,ignoreError);
       return request;
    }
	this.getTeamLeader=function(token,success,ignoreError){
       var request= getTeamLeaderRq(false,token,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function setTeamCompanyJsonRq(union,token,jsonData,success,ignoreError){
        var request=new JlnRequest();
        request.func='setTeamCompanyJson';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['jd']=jsonData;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.setTeamCompanyJsonRequest=function(token,jsonData,success,ignoreError){
       var request= setTeamCompanyJsonRq(true,token,jsonData,success,ignoreError);
       return request;
    }
	this.setTeamCompanyJson=function(token,jsonData,success,ignoreError){
       var request= setTeamCompanyJsonRq(false,token,jsonData,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function getTeamManagerRq(union,token,success,ignoreError){
        var request=new JlnRequest();
        request.func='getTeamManager';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.getTeamManagerRequest=function(token,success,ignoreError){
       var request= getTeamManagerRq(true,token,success,ignoreError);
       return request;
    }
	this.getTeamManager=function(token,success,ignoreError){
       var request= getTeamManagerRq(false,token,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function setTeamManagerJsonRq(union,token,jsonData,success,ignoreError){
        var request=new JlnRequest();
        request.func='setTeamManagerJson';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['jd']=jsonData;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.setTeamManagerJsonRequest=function(token,jsonData,success,ignoreError){
       var request= setTeamManagerJsonRq(true,token,jsonData,success,ignoreError);
       return request;
    }
	this.setTeamManagerJson=function(token,jsonData,success,ignoreError){
       var request= setTeamManagerJsonRq(false,token,jsonData,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function setTeamManagerALlJsonRq(union,token,managerJson,baseJson,companyJson,descriptionJson,ideaJson,MemberInfoJson,success,ignoreError){
        var request=new JlnRequest();
        request.func='setTeamManagerALlJson';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['mj']=managerJson;
		request.params['bj']=baseJson;
		request.params['cj']=companyJson;
		request.params['dj']=descriptionJson;
		request.params['ij']=ideaJson;
		request.params['mij']=MemberInfoJson;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.setTeamManagerALlJsonRequest=function(token,managerJson,baseJson,companyJson,descriptionJson,ideaJson,MemberInfoJson,success,ignoreError){
       var request= setTeamManagerALlJsonRq(true,token,managerJson,baseJson,companyJson,descriptionJson,ideaJson,MemberInfoJson,success,ignoreError);
       return request;
    }
	this.setTeamManagerALlJson=function(token,managerJson,baseJson,companyJson,descriptionJson,ideaJson,MemberInfoJson,success,ignoreError){
       var request= setTeamManagerALlJsonRq(false,token,managerJson,baseJson,companyJson,descriptionJson,ideaJson,MemberInfoJson,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function modifyTeamLeaderRq(union,token,managerId,success,ignoreError){
        var request=new JlnRequest();
        request.func='modifyTeamLeader';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['mid']=managerId;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.modifyTeamLeaderRequest=function(token,managerId,success,ignoreError){
       var request= modifyTeamLeaderRq(true,token,managerId,success,ignoreError);
       return request;
    }
	this.modifyTeamLeader=function(token,managerId,success,ignoreError){
       var request= modifyTeamLeaderRq(false,token,managerId,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function modifyPasswordRq(union,token,validCode,password,time,pageToken,success,ignoreError){
        var request=new JlnRequest();
        request.func='modifyPassword';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['validCode']=validCode;
		request.params['p']=password;
		request.params['t']=time;
		request.params['pt']=pageToken;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.modifyPasswordRequest=function(token,validCode,password,time,pageToken,success,ignoreError){
       var request= modifyPasswordRq(true,token,validCode,password,time,pageToken,success,ignoreError);
       return request;
    }
	this.modifyPassword=function(token,validCode,password,time,pageToken,success,ignoreError){
       var request= modifyPasswordRq(false,token,validCode,password,time,pageToken,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function modifyBaseInfoJsonRq(union,token,validCode,teamInfo,success,ignoreError){
        var request=new JlnRequest();
        request.func='modifyBaseInfoJson';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['validCode']=validCode;
		request.params['ti']=teamInfo;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.modifyBaseInfoJsonRequest=function(token,validCode,teamInfo,success,ignoreError){
       var request= modifyBaseInfoJsonRq(true,token,validCode,teamInfo,success,ignoreError);
       return request;
    }
	this.modifyBaseInfoJson=function(token,validCode,teamInfo,success,ignoreError){
       var request= modifyBaseInfoJsonRq(false,token,validCode,teamInfo,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function modifyEmailAndPhoneRq(union,token,validCode,phoneNumber,email,time,pageToken,success,ignoreError){
        var request=new JlnRequest();
        request.func='modifyEmailAndPhone';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['validCode']=validCode;
		request.params['phoneNumber']=phoneNumber;
		request.params['e']=email;
		request.params['t']=time;
		request.params['pt']=pageToken;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.modifyEmailAndPhoneRequest=function(token,validCode,phoneNumber,email,time,pageToken,success,ignoreError){
       var request= modifyEmailAndPhoneRq(true,token,validCode,phoneNumber,email,time,pageToken,success,ignoreError);
       return request;
    }
	this.modifyEmailAndPhone=function(token,validCode,phoneNumber,email,time,pageToken,success,ignoreError){
       var request= modifyEmailAndPhoneRq(false,token,validCode,phoneNumber,email,time,pageToken,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function phoneIsExistedRq(union,phoneNumber,success,ignoreError){
        var request=new JlnRequest();
        request.func='phoneIsExisted';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['phoneNumber']=phoneNumber;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.phoneIsExistedRequest=function(phoneNumber,success,ignoreError){
       var request= phoneIsExistedRq(true,phoneNumber,success,ignoreError);
       return request;
    }
	this.phoneIsExisted=function(phoneNumber,success,ignoreError){
       var request= phoneIsExistedRq(false,phoneNumber,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function emailIsExistedRq(union,email,success,ignoreError){
        var request=new JlnRequest();
        request.func='emailIsExisted';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['e']=email;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.emailIsExistedRequest=function(email,success,ignoreError){
       var request= emailIsExistedRq(true,email,success,ignoreError);
       return request;
    }
	this.emailIsExisted=function(email,success,ignoreError){
       var request= emailIsExistedRq(false,email,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function requestSMSValidateRq(union,phoneNumber,success,ignoreError){
        var request=new JlnRequest();
        request.func='requestSMSValidate';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['phoneNumber']=phoneNumber;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.requestSMSValidateRequest=function(phoneNumber,success,ignoreError){
       var request= requestSMSValidateRq(true,phoneNumber,success,ignoreError);
       return request;
    }
	this.requestSMSValidate=function(phoneNumber,success,ignoreError){
       var request= requestSMSValidateRq(false,phoneNumber,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function smsLoginRq(union,phoneNumber,validCode,success,ignoreError){
        var request=new JlnRequest();
        request.func='smsLogin';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['phoneNumber']=phoneNumber;
		request.params['validCode']=validCode;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.smsLoginRequest=function(phoneNumber,validCode,success,ignoreError){
       var request= smsLoginRq(true,phoneNumber,validCode,success,ignoreError);
       return request;
    }
	this.smsLogin=function(phoneNumber,validCode,success,ignoreError){
       var request= smsLoginRq(false,phoneNumber,validCode,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function logoutRq(union,token,success,ignoreError){
        var request=new JlnRequest();
        request.func='logout';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.logoutRequest=function(token,success,ignoreError){
       var request= logoutRq(true,token,success,ignoreError);
       return request;
    }
	this.logout=function(token,success,ignoreError){
       var request= logoutRq(false,token,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function bindBankAccountRq(union,token,bankType,bankName,accountName,bankAccount,success,ignoreError){
        var request=new JlnRequest();
        request.func='bindBankAccount';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['bt']=bankType;
		request.params['bn']=bankName;
		request.params['an']=accountName;
		request.params['ba']=bankAccount;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.bindBankAccountRequest=function(token,bankType,bankName,accountName,bankAccount,success,ignoreError){
       var request= bindBankAccountRq(true,token,bankType,bankName,accountName,bankAccount,success,ignoreError);
       return request;
    }
	this.bindBankAccount=function(token,bankType,bankName,accountName,bankAccount,success,ignoreError){
       var request= bindBankAccountRq(false,token,bankType,bankName,accountName,bankAccount,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function validBankMoneyRq(union,token,money,success,ignoreError){
        var request=new JlnRequest();
        request.func='validBankMoney';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['m']=money;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.validBankMoneyRequest=function(token,money,success,ignoreError){
       var request= validBankMoneyRq(true,token,money,success,ignoreError);
       return request;
    }
	this.validBankMoney=function(token,money,success,ignoreError){
       var request= validBankMoneyRq(false,token,money,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function setTradePasswordRq(union,token,validCode,password,success,ignoreError){
        var request=new JlnRequest();
        request.func='setTradePassword';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['validCode']=validCode;
		request.params['p']=password;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.setTradePasswordRequest=function(token,validCode,password,success,ignoreError){
       var request= setTradePasswordRq(true,token,validCode,password,success,ignoreError);
       return request;
    }
	this.setTradePassword=function(token,validCode,password,success,ignoreError){
       var request= setTradePasswordRq(false,token,validCode,password,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function setQuestionsRq(union,token,q1,a1,q2,a2,q3,a3,q4,a4,q5,a5,q6,a6,time,pageToken,success,ignoreError){
        var request=new JlnRequest();
        request.func='setQuestions';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['q']=q1;
		request.params['a']=a1;
		request.params['q0']=q2;
		request.params['a0']=a2;
		request.params['q1']=q3;
		request.params['a1']=a3;
		request.params['q2']=q4;
		request.params['a2']=a4;
		request.params['q3']=q5;
		request.params['a3']=a5;
		request.params['q4']=q6;
		request.params['a4']=a6;
		request.params['t']=time;
		request.params['pt']=pageToken;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.setQuestionsRequest=function(token,q1,a1,q2,a2,q3,a3,q4,a4,q5,a5,q6,a6,time,pageToken,success,ignoreError){
       var request= setQuestionsRq(true,token,q1,a1,q2,a2,q3,a3,q4,a4,q5,a5,q6,a6,time,pageToken,success,ignoreError);
       return request;
    }
	this.setQuestions=function(token,q1,a1,q2,a2,q3,a3,q4,a4,q5,a5,q6,a6,time,pageToken,success,ignoreError){
       var request= setQuestionsRq(false,token,q1,a1,q2,a2,q3,a3,q4,a4,q5,a5,q6,a6,time,pageToken,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function getQuestionIndexsRq(union,token,success,ignoreError){
        var request=new JlnRequest();
        request.func='getQuestionIndexs';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.getQuestionIndexsRequest=function(token,success,ignoreError){
       var request= getQuestionIndexsRq(true,token,success,ignoreError);
       return request;
    }
	this.getQuestionIndexs=function(token,success,ignoreError){
       var request= getQuestionIndexsRq(false,token,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function validateAnswerRq(union,token,index,q,a,success,ignoreError){
        var request=new JlnRequest();
        request.func='validateAnswer';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['i']=index;
		request.params['q']=q;
		request.params['a']=a;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.validateAnswerRequest=function(token,index,q,a,success,ignoreError){
       var request= validateAnswerRq(true,token,index,q,a,success,ignoreError);
       return request;
    }
	this.validateAnswer=function(token,index,q,a,success,ignoreError){
       var request= validateAnswerRq(false,token,index,q,a,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function validateAnswersRq(union,token,q1,a1,q2,a2,q3,a3,q4,a4,q5,a5,q6,a6,success,ignoreError){
        var request=new JlnRequest();
        request.func='validateAnswers';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['q']=q1;
		request.params['a']=a1;
		request.params['q0']=q2;
		request.params['a0']=a2;
		request.params['q1']=q3;
		request.params['a1']=a3;
		request.params['q2']=q4;
		request.params['a2']=a4;
		request.params['q3']=q5;
		request.params['a3']=a5;
		request.params['q4']=q6;
		request.params['a4']=a6;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.validateAnswersRequest=function(token,q1,a1,q2,a2,q3,a3,q4,a4,q5,a5,q6,a6,success,ignoreError){
       var request= validateAnswersRq(true,token,q1,a1,q2,a2,q3,a3,q4,a4,q5,a5,q6,a6,success,ignoreError);
       return request;
    }
	this.validateAnswers=function(token,q1,a1,q2,a2,q3,a3,q4,a4,q5,a5,q6,a6,success,ignoreError){
       var request= validateAnswersRq(false,token,q1,a1,q2,a2,q3,a3,q4,a4,q5,a5,q6,a6,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function isRegisterFinishRq(union,token,success,ignoreError){
        var request=new JlnRequest();
        request.func='isRegisterFinish';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.isRegisterFinishRequest=function(token,success,ignoreError){
       var request= isRegisterFinishRq(true,token,success,ignoreError);
       return request;
    }
	this.isRegisterFinish=function(token,success,ignoreError){
       var request= isRegisterFinishRq(false,token,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function getBindBankRq(union,token,success,ignoreError){
        var request=new JlnRequest();
        request.func='getBindBank';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.getBindBankRequest=function(token,success,ignoreError){
       var request= getBindBankRq(true,token,success,ignoreError);
       return request;
    }
	this.getBindBank=function(token,success,ignoreError){
       var request= getBindBankRq(false,token,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function getAccountRq(union,token,success,ignoreError){
        var request=new JlnRequest();
        request.func='getAccount';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.getAccountRequest=function(token,success,ignoreError){
       var request= getAccountRq(true,token,success,ignoreError);
       return request;
    }
	this.getAccount=function(token,success,ignoreError){
       var request= getAccountRq(false,token,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function getUserSmartInfoRq(union,token,success,ignoreError){
        var request=new JlnRequest();
        request.func='getUserSmartInfo';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.getUserSmartInfoRequest=function(token,success,ignoreError){
       var request= getUserSmartInfoRq(true,token,success,ignoreError);
       return request;
    }
	this.getUserSmartInfo=function(token,success,ignoreError){
       var request= getUserSmartInfoRq(false,token,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function setTeamDescriptionJsonRq(union,token,jsonData,success,ignoreError){
        var request=new JlnRequest();
        request.func='setTeamDescriptionJson';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['jd']=jsonData;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.setTeamDescriptionJsonRequest=function(token,jsonData,success,ignoreError){
       var request= setTeamDescriptionJsonRq(true,token,jsonData,success,ignoreError);
       return request;
    }
	this.setTeamDescriptionJson=function(token,jsonData,success,ignoreError){
       var request= setTeamDescriptionJsonRq(false,token,jsonData,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function getTeamDescriptionRq(union,teamId,success,ignoreError){
        var request=new JlnRequest();
        request.func='getTeamDescription';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['tid']=teamId;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.getTeamDescriptionRequest=function(teamId,success,ignoreError){
       var request= getTeamDescriptionRq(true,teamId,success,ignoreError);
       return request;
    }
	this.getTeamDescription=function(teamId,success,ignoreError){
       var request= getTeamDescriptionRq(false,teamId,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function setTeamIdeaJsonRq(union,token,jsonData,success,ignoreError){
        var request=new JlnRequest();
        request.func='setTeamIdeaJson';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['jd']=jsonData;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.setTeamIdeaJsonRequest=function(token,jsonData,success,ignoreError){
       var request= setTeamIdeaJsonRq(true,token,jsonData,success,ignoreError);
       return request;
    }
	this.setTeamIdeaJson=function(token,jsonData,success,ignoreError){
       var request= setTeamIdeaJsonRq(false,token,jsonData,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function getTeamIdeaRq(union,teamId,success,ignoreError){
        var request=new JlnRequest();
        request.func='getTeamIdea';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['tid']=teamId;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.getTeamIdeaRequest=function(teamId,success,ignoreError){
       var request= getTeamIdeaRq(true,teamId,success,ignoreError);
       return request;
    }
	this.getTeamIdea=function(teamId,success,ignoreError){
       var request= getTeamIdeaRq(false,teamId,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function setTeamMemberJsonRq(union,token,jsonData,success,ignoreError){
        var request=new JlnRequest();
        request.func='setTeamMemberJson';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['jd']=jsonData;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.setTeamMemberJsonRequest=function(token,jsonData,success,ignoreError){
       var request= setTeamMemberJsonRq(true,token,jsonData,success,ignoreError);
       return request;
    }
	this.setTeamMemberJson=function(token,jsonData,success,ignoreError){
       var request= setTeamMemberJsonRq(false,token,jsonData,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function getTeamMemberInfoRq(union,teamId,success,ignoreError){
        var request=new JlnRequest();
        request.func='getTeamMemberInfo';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['tid']=teamId;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.getTeamMemberInfoRequest=function(teamId,success,ignoreError){
       var request= getTeamMemberInfoRq(true,teamId,success,ignoreError);
       return request;
    }
	this.getTeamMemberInfo=function(teamId,success,ignoreError){
       var request= getTeamMemberInfoRq(false,teamId,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function addInvestManagerJsonRq(union,token,managerJson,success,ignoreError){
        var request=new JlnRequest();
        request.func='addInvestManagerJson';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['mj']=managerJson;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.addInvestManagerJsonRequest=function(token,managerJson,success,ignoreError){
       var request= addInvestManagerJsonRq(true,token,managerJson,success,ignoreError);
       return request;
    }
	this.addInvestManagerJson=function(token,managerJson,success,ignoreError){
       var request= addInvestManagerJsonRq(false,token,managerJson,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function modifyManagerJsonRq(union,token,managerId,managerJson,success,ignoreError){
        var request=new JlnRequest();
        request.func='modifyManagerJson';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['mid']=managerId;
		request.params['mj']=managerJson;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.modifyManagerJsonRequest=function(token,managerId,managerJson,success,ignoreError){
       var request= modifyManagerJsonRq(true,token,managerId,managerJson,success,ignoreError);
       return request;
    }
	this.modifyManagerJson=function(token,managerId,managerJson,success,ignoreError){
       var request= modifyManagerJsonRq(false,token,managerId,managerJson,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function setTeamBestProductRq(union,token,productId,productSId,productName,success,ignoreError){
        var request=new JlnRequest();
        request.func='setTeamBestProduct';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['pid']=productId;
		request.params['psid']=productSId;
		request.params['pn']=productName;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.setTeamBestProductRequest=function(token,productId,productSId,productName,success,ignoreError){
       var request= setTeamBestProductRq(true,token,productId,productSId,productName,success,ignoreError);
       return request;
    }
	this.setTeamBestProduct=function(token,productId,productSId,productName,success,ignoreError){
       var request= setTeamBestProductRq(false,token,productId,productSId,productName,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function setInvestManagerBestProductRq(union,token,managerIds,productId,productSId,productName,isDefaultSet,success,ignoreError){
        var request=new JlnRequest();
        request.func='setInvestManagerBestProduct';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['mi']=managerIds;
		request.params['pid']=productId;
		request.params['psid']=productSId;
		request.params['pn']=productName;
		request.params['ids']=isDefaultSet;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.setInvestManagerBestProductRequest=function(token,managerIds,productId,productSId,productName,isDefaultSet,success,ignoreError){
       var request= setInvestManagerBestProductRq(true,token,managerIds,productId,productSId,productName,isDefaultSet,success,ignoreError);
       return request;
    }
	this.setInvestManagerBestProduct=function(token,managerIds,productId,productSId,productName,isDefaultSet,success,ignoreError){
       var request= setInvestManagerBestProductRq(false,token,managerIds,productId,productSId,productName,isDefaultSet,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function setInvestManagerBestProductByIdRq(union,teamId,managerIds,productId,productSId,productName,isDefaultSet,success,ignoreError){
        var request=new JlnRequest();
        request.func='setInvestManagerBestProductById';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['tid']=teamId;
		request.params['mi']=managerIds;
		request.params['pid']=productId;
		request.params['psid']=productSId;
		request.params['pn']=productName;
		request.params['ids']=isDefaultSet;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.setInvestManagerBestProductByIdRequest=function(teamId,managerIds,productId,productSId,productName,isDefaultSet,success,ignoreError){
       var request= setInvestManagerBestProductByIdRq(true,teamId,managerIds,productId,productSId,productName,isDefaultSet,success,ignoreError);
       return request;
    }
	this.setInvestManagerBestProductById=function(teamId,managerIds,productId,productSId,productName,isDefaultSet,success,ignoreError){
       var request= setInvestManagerBestProductByIdRq(false,teamId,managerIds,productId,productSId,productName,isDefaultSet,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function removeManagerRq(union,token,managerId,success,ignoreError){
        var request=new JlnRequest();
        request.func='removeManager';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['mid']=managerId;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.removeManagerRequest=function(token,managerId,success,ignoreError){
       var request= removeManagerRq(true,token,managerId,success,ignoreError);
       return request;
    }
	this.removeManager=function(token,managerId,success,ignoreError){
       var request= removeManagerRq(false,token,managerId,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function getTeamInvestManagersRq(union,teamId,success,ignoreError){
        var request=new JlnRequest();
        request.func='getTeamInvestManagers';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['tid']=teamId;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.getTeamInvestManagersRequest=function(teamId,success,ignoreError){
       var request= getTeamInvestManagersRq(true,teamId,success,ignoreError);
       return request;
    }
	this.getTeamInvestManagers=function(teamId,success,ignoreError){
       var request= getTeamInvestManagersRq(false,teamId,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function getInverstManagerRq(union,managerId,success,ignoreError){
        var request=new JlnRequest();
        request.func='getInverstManager';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['mid']=managerId;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.getInverstManagerRequest=function(managerId,success,ignoreError){
       var request= getInverstManagerRq(true,managerId,success,ignoreError);
       return request;
    }
	this.getInverstManager=function(managerId,success,ignoreError){
       var request= getInverstManagerRq(false,managerId,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function setManagerDescriptionJsonRq(union,token,managerId,jsonData,success,ignoreError){
        var request=new JlnRequest();
        request.func='setManagerDescriptionJson';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['mid']=managerId;
		request.params['jd']=jsonData;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.setManagerDescriptionJsonRequest=function(token,managerId,jsonData,success,ignoreError){
       var request= setManagerDescriptionJsonRq(true,token,managerId,jsonData,success,ignoreError);
       return request;
    }
	this.setManagerDescriptionJson=function(token,managerId,jsonData,success,ignoreError){
       var request= setManagerDescriptionJsonRq(false,token,managerId,jsonData,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function getManagerDescriptionRq(union,managerId,success,ignoreError){
        var request=new JlnRequest();
        request.func='getManagerDescription';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['mid']=managerId;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.getManagerDescriptionRequest=function(managerId,success,ignoreError){
       var request= getManagerDescriptionRq(true,managerId,success,ignoreError);
       return request;
    }
	this.getManagerDescription=function(managerId,success,ignoreError){
       var request= getManagerDescriptionRq(false,managerId,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function queryTeamsRq(union,fundScaleBegin,fundScaleEnd,establishBegin,establishEnd,isRecord,city,query,order,isAsc,page,countPerPage,success,ignoreError){
        var request=new JlnRequest();
        request.func='queryTeams';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['fsb']=fundScaleBegin;
		request.params['fse']=fundScaleEnd;
		request.params['eb']=establishBegin;
		request.params['ee']=establishEnd;
		request.params['ir']=isRecord;
		request.params['c']=city;
		request.params['q']=query;
		request.params['o']=order;
		request.params['ia']=isAsc;
		request.params['p']=page;
		request.params['cpp']=countPerPage;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.queryTeamsRequest=function(fundScaleBegin,fundScaleEnd,establishBegin,establishEnd,isRecord,city,query,order,isAsc,page,countPerPage,success,ignoreError){
       var request= queryTeamsRq(true,fundScaleBegin,fundScaleEnd,establishBegin,establishEnd,isRecord,city,query,order,isAsc,page,countPerPage,success,ignoreError);
       return request;
    }
	this.queryTeams=function(fundScaleBegin,fundScaleEnd,establishBegin,establishEnd,isRecord,city,query,order,isAsc,page,countPerPage,success,ignoreError){
       var request= queryTeamsRq(false,fundScaleBegin,fundScaleEnd,establishBegin,establishEnd,isRecord,city,query,order,isAsc,page,countPerPage,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function queryManagersRq(union,type,workYearsBegin,workYearsEnd,education,city,query,order,isAsc,page,countPerPage,success,ignoreError){
        var request=new JlnRequest();
        request.func='queryManagers';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['t']=type;
		request.params['wyb']=workYearsBegin;
		request.params['wye']=workYearsEnd;
		request.params['e']=education;
		request.params['c']=city;
		request.params['q']=query;
		request.params['o']=order;
		request.params['ia']=isAsc;
		request.params['p']=page;
		request.params['cpp']=countPerPage;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.queryManagersRequest=function(type,workYearsBegin,workYearsEnd,education,city,query,order,isAsc,page,countPerPage,success,ignoreError){
       var request= queryManagersRq(true,type,workYearsBegin,workYearsEnd,education,city,query,order,isAsc,page,countPerPage,success,ignoreError);
       return request;
    }
	this.queryManagers=function(type,workYearsBegin,workYearsEnd,education,city,query,order,isAsc,page,countPerPage,success,ignoreError){
       var request= queryManagersRq(false,type,workYearsBegin,workYearsEnd,education,city,query,order,isAsc,page,countPerPage,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function validateIDNumberRq(union,token,idNum,success,ignoreError){
        var request=new JlnRequest();
        request.func='validateIDNumber';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['in']=idNum;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.validateIDNumberRequest=function(token,idNum,success,ignoreError){
       var request= validateIDNumberRq(true,token,idNum,success,ignoreError);
       return request;
    }
	this.validateIDNumber=function(token,idNum,success,ignoreError){
       var request= validateIDNumberRq(false,token,idNum,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function validateRegisterCodeRq(union,token,code,success,ignoreError){
        var request=new JlnRequest();
        request.func='validateRegisterCode';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['c']=code;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.validateRegisterCodeRequest=function(token,code,success,ignoreError){
       var request= validateRegisterCodeRq(true,token,code,success,ignoreError);
       return request;
    }
	this.validateRegisterCode=function(token,code,success,ignoreError){
       var request= validateRegisterCodeRq(false,token,code,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function validateOrganizationCodeRq(union,token,code,success,ignoreError){
        var request=new JlnRequest();
        request.func='validateOrganizationCode';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['c']=code;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.validateOrganizationCodeRequest=function(token,code,success,ignoreError){
       var request= validateOrganizationCodeRq(true,token,code,success,ignoreError);
       return request;
    }
	this.validateOrganizationCode=function(token,code,success,ignoreError){
       var request= validateOrganizationCodeRq(false,token,code,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function queryTeamInfoByIdsRq(union,ids,order,isAsc,page,countPerPage,success,ignoreError){
        var request=new JlnRequest();
        request.func='queryTeamInfoByIds';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['i']=ids;
		request.params['o']=order;
		request.params['ia']=isAsc;
		request.params['p']=page;
		request.params['cpp']=countPerPage;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.queryTeamInfoByIdsRequest=function(ids,order,isAsc,page,countPerPage,success,ignoreError){
       var request= queryTeamInfoByIdsRq(true,ids,order,isAsc,page,countPerPage,success,ignoreError);
       return request;
    }
	this.queryTeamInfoByIds=function(ids,order,isAsc,page,countPerPage,success,ignoreError){
       var request= queryTeamInfoByIdsRq(false,ids,order,isAsc,page,countPerPage,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function queryManagerInfoByIdsRq(union,managerIds,order,isAsc,page,countPerPage,success,ignoreError){
        var request=new JlnRequest();
        request.func='queryManagerInfoByIds';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['mi']=managerIds;
		request.params['o']=order;
		request.params['ia']=isAsc;
		request.params['p']=page;
		request.params['cpp']=countPerPage;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.queryManagerInfoByIdsRequest=function(managerIds,order,isAsc,page,countPerPage,success,ignoreError){
       var request= queryManagerInfoByIdsRq(true,managerIds,order,isAsc,page,countPerPage,success,ignoreError);
       return request;
    }
	this.queryManagerInfoByIds=function(managerIds,order,isAsc,page,countPerPage,success,ignoreError){
       var request= queryManagerInfoByIdsRq(false,managerIds,order,isAsc,page,countPerPage,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function submitTeamApprovalRq(union,token,success,ignoreError){
        var request=new JlnRequest();
        request.func='submitTeamApproval';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.submitTeamApprovalRequest=function(token,success,ignoreError){
       var request= submitTeamApprovalRq(true,token,success,ignoreError);
       return request;
    }
	this.submitTeamApproval=function(token,success,ignoreError){
       var request= submitTeamApprovalRq(false,token,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function queryInvestManagerByTopFactorRq(union,topCount,success,ignoreError){
        var request=new JlnRequest();
        request.func='queryInvestManagerByTopFactor';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['tc']=topCount;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.queryInvestManagerByTopFactorRequest=function(topCount,success,ignoreError){
       var request= queryInvestManagerByTopFactorRq(true,topCount,success,ignoreError);
       return request;
    }
	this.queryInvestManagerByTopFactor=function(topCount,success,ignoreError){
       var request= queryInvestManagerByTopFactorRq(false,topCount,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function queryInvestTeamByTopFactorRq(union,topCount,success,ignoreError){
        var request=new JlnRequest();
        request.func='queryInvestTeamByTopFactor';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['tc']=topCount;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.queryInvestTeamByTopFactorRequest=function(topCount,success,ignoreError){
       var request= queryInvestTeamByTopFactorRq(true,topCount,success,ignoreError);
       return request;
    }
	this.queryInvestTeamByTopFactor=function(topCount,success,ignoreError){
       var request= queryInvestTeamByTopFactorRq(false,topCount,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function getOrderRq(union,token,orderId,success,ignoreError){
        var request=new JlnRequest();
        request.func='getOrder';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['oid']=orderId;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.getOrderRequest=function(token,orderId,success,ignoreError){
       var request= getOrderRq(true,token,orderId,success,ignoreError);
       return request;
    }
	this.getOrder=function(token,orderId,success,ignoreError){
       var request= getOrderRq(false,token,orderId,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function getInvestTeamSimpleRq(union,token,success,ignoreError){
        var request=new JlnRequest();
        request.func='getInvestTeamSimple';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.getInvestTeamSimpleRequest=function(token,success,ignoreError){
       var request= getInvestTeamSimpleRq(true,token,success,ignoreError);
       return request;
    }
	this.getInvestTeamSimple=function(token,success,ignoreError){
       var request= getInvestTeamSimpleRq(false,token,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function getPageTokenRq(union,teamToken,success,ignoreError){
        var request=new JlnRequest();
        request.func='getPageToken';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['teamToken']=teamToken;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.getPageTokenRequest=function(teamToken,success,ignoreError){
       var request= getPageTokenRq(true,teamToken,success,ignoreError);
       return request;
    }
	this.getPageToken=function(teamToken,success,ignoreError){
       var request= getPageTokenRq(false,teamToken,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function signUpMOMRq(union,token,success,ignoreError){
        var request=new JlnRequest();
        request.func='signUpMOM';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.signUpMOMRequest=function(token,success,ignoreError){
       var request= signUpMOMRq(true,token,success,ignoreError);
       return request;
    }
	this.signUpMOM=function(token,success,ignoreError){
       var request= signUpMOMRq(false,token,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function confirmSignUpMOMRq(union,token,historyPerformance,dueDiligence,success,ignoreError){
        var request=new JlnRequest();
        request.func='confirmSignUpMOM';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['hp']=historyPerformance;
		request.params['dd']=dueDiligence;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.confirmSignUpMOMRequest=function(token,historyPerformance,dueDiligence,success,ignoreError){
       var request= confirmSignUpMOMRq(true,token,historyPerformance,dueDiligence,success,ignoreError);
       return request;
    }
	this.confirmSignUpMOM=function(token,historyPerformance,dueDiligence,success,ignoreError){
       var request= confirmSignUpMOMRq(false,token,historyPerformance,dueDiligence,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function getMOMAccountRq(union,token,success,ignoreError){
        var request=new JlnRequest();
        request.func='getMOMAccount';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.getMOMAccountRequest=function(token,success,ignoreError){
       var request= getMOMAccountRq(true,token,success,ignoreError);
       return request;
    }
	this.getMOMAccount=function(token,success,ignoreError){
       var request= getMOMAccountRq(false,token,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function validateIdentityRq(union,token,password,organizationCode,index,q,a,success,ignoreError){
        var request=new JlnRequest();
        request.func='validateIdentity';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['p']=password;
		request.params['oc']=organizationCode;
		request.params['i']=index;
		request.params['q']=q;
		request.params['a']=a;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.validateIdentityRequest=function(token,password,organizationCode,index,q,a,success,ignoreError){
       var request= validateIdentityRq(true,token,password,organizationCode,index,q,a,success,ignoreError);
       return request;
    }
	this.validateIdentity=function(token,password,organizationCode,index,q,a,success,ignoreError){
       var request= validateIdentityRq(false,token,password,organizationCode,index,q,a,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function sendEmailValidCodeRq(union,token,phoneNum,validCode,email,success,ignoreError){
        var request=new JlnRequest();
        request.func='sendEmailValidCode';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['phoneNum']=phoneNum;
		request.params['vc']=validCode;
		request.params['e']=email;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.sendEmailValidCodeRequest=function(token,phoneNum,validCode,email,success,ignoreError){
       var request= sendEmailValidCodeRq(true,token,phoneNum,validCode,email,success,ignoreError);
       return request;
    }
	this.sendEmailValidCode=function(token,phoneNum,validCode,email,success,ignoreError){
       var request= sendEmailValidCodeRq(false,token,phoneNum,validCode,email,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function blindEmailRq(union,token,validCode,email,success,ignoreError){
        var request=new JlnRequest();
        request.func='blindEmail';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['vc']=validCode;
		request.params['e']=email;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.blindEmailRequest=function(token,validCode,email,success,ignoreError){
       var request= blindEmailRq(true,token,validCode,email,success,ignoreError);
       return request;
    }
	this.blindEmail=function(token,validCode,email,success,ignoreError){
       var request= blindEmailRq(false,token,validCode,email,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function modifyPasswordByOriRq(union,token,validCode,password,oriPassword,success,ignoreError){
        var request=new JlnRequest();
        request.func='modifyPasswordByOri';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['token']=token;
		request.params['vc']=validCode;
		request.params['p']=password;
		request.params['op']=oriPassword;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.modifyPasswordByOriRequest=function(token,validCode,password,oriPassword,success,ignoreError){
       var request= modifyPasswordByOriRq(true,token,validCode,password,oriPassword,success,ignoreError);
       return request;
    }
	this.modifyPasswordByOri=function(token,validCode,password,oriPassword,success,ignoreError){
       var request= modifyPasswordByOriRq(false,token,validCode,password,oriPassword,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function getManagerDescriptionMapRq(union,managerId,success,ignoreError){
        var request=new JlnRequest();
        request.func='getManagerDescriptionMap';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['mid']=managerId;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.getManagerDescriptionMapRequest=function(managerId,success,ignoreError){
       var request= getManagerDescriptionMapRq(true,managerId,success,ignoreError);
       return request;
    }
	this.getManagerDescriptionMap=function(managerId,success,ignoreError){
       var request= getManagerDescriptionMapRq(false,managerId,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function getTeamDescriptionMapRq(union,teamId,success,ignoreError){
        var request=new JlnRequest();
        request.func='getTeamDescriptionMap';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['tid']=teamId;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.getTeamDescriptionMapRequest=function(teamId,success,ignoreError){
       var request= getTeamDescriptionMapRq(true,teamId,success,ignoreError);
       return request;
    }
	this.getTeamDescriptionMap=function(teamId,success,ignoreError){
       var request= getTeamDescriptionMapRq(false,teamId,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function getTeamIdeaMapRq(union,teamId,success,ignoreError){
        var request=new JlnRequest();
        request.func='getTeamIdeaMap';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['tid']=teamId;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.getTeamIdeaMapRequest=function(teamId,success,ignoreError){
       var request= getTeamIdeaMapRq(true,teamId,success,ignoreError);
       return request;
    }
	this.getTeamIdeaMap=function(teamId,success,ignoreError){
       var request= getTeamIdeaMapRq(false,teamId,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }

	function getTeamMemberInfoMapRq(union,teamId,success,ignoreError){
        var request=new JlnRequest();
        request.func='getTeamMemberInfoMap';
        request.token = Base.localStorage.getItem('request_token');
		
		request.params['tid']=teamId;

		if (union == true) {
	        request.svr = 'investteam';
            request.ignoreError = ignoreError;
	        request.success = success;
        }
	    return request;
    }
	this.getTeamMemberInfoMapRequest=function(teamId,success,ignoreError){
       var request= getTeamMemberInfoMapRq(true,teamId,success,ignoreError);
       return request;
    }
	this.getTeamMemberInfoMap=function(teamId,success,ignoreError){
       var request= getTeamMemberInfoMapRq(false,teamId,success,ignoreError);
       investteamSubmit(request, success, ignoreError);

    }
}

});
